import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {UsersComponent} from "./users.component";
import {UserAddComponent} from "./user-add/user-add.component";
import {UserAssignAccComponent} from "./user-assign-acc/user-assign-acc.component";
import {UserUpdateComponent} from "./user-update/user-update.component";
import {UserCreatAccComponent} from "./user-creat-acc/user-creat-acc.component";
import {UserSpeedyAssignAccComponent} from "./user-speedy-assign-acc/user-speedy-assign-acc.component";

const routes: Routes = [
  {
    path :"",
    component :UsersComponent
  },
  {
    path :"add",
    component :UserAddComponent
  },
  {
    path :"acc",
    component :UserAssignAccComponent
  },
  {
    path :"speedy",
    component :UserSpeedyAssignAccComponent
  },
  {
    path :"creat",
    component :UserCreatAccComponent
  },
  {
    path :"update",
    component :UserUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class UsersRoutingModule { }
